This commit adds a cell_background property for cell renderers. With this
authorKristian Rietveld <kris@gtk.org>
Tue, 23 Apr 2002 16:39:01 +0000 (16:39 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Tue, 23 Apr 2002 16:39:01 +0000 (16:39 +0000)
commitcb3c5cc14d4d7f8619ff2742bf6c4e6d7bd6a503
treedb8e5f149598ca8a77517aad4cdb439c1278baad
parent1b771c4428e7528c09b2f0941a9277203f45b4cc
This commit adds a cell_background property for cell renderers. With this

Tue Apr 23 18:35:34 2002  Kristian Rietveld  <kris@gtk.org>

        This commit adds a cell_background property for cell renderers. With
        this property you can make your TreeView look incredibly ugly.

        * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and
        cell_background_set properties,
        (set_cell_bg_color): new function,
        (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property):
        support for new properties,
        (gtk_cell_renderer_render): render a background when set.

        * gtk/gtkcellrenderer.h: add cell_background_set and cell_background
        fields.

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
        when rendering, pass in just the background_area of the cell and not
        the background_area of the entire column.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcellrenderer.c
gtk/gtkcellrenderer.h
gtk/gtktreeviewcolumn.c